package com.yuanshen.equip.vo;


import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.HeadFontStyle;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import com.alibaba.excel.annotation.write.style.HeadStyle;
import com.alibaba.excel.enums.poi.FillPatternTypeEnum;
import lombok.Data;

/**
 * 英雄装备excel导出对象
 *
 * @author Administrator
 * @date 2023/2/9 14:01
 */
@Data
// 头背景设置成绿色
@HeadStyle(fillPatternType = FillPatternTypeEnum.SOLID_FOREGROUND, fillForegroundColor = 57)
// 头字体设置成20
@HeadFontStyle(fontHeightInPoints = 16)
@HeadRowHeight(35)
public class HeroEquipExcelVo {

    @ColumnWidth(12)
    @ExcelProperty("英雄名")
    private String heroName;

    @ColumnWidth(16)
    @ExcelProperty("圣遗物类型")
    private String equipType;

    @ColumnWidth(20)
    @ExcelProperty("圣遗物主属性")
    private String equipmentMainAttr;

    @ColumnWidth(22)
    @ExcelProperty("圣遗物副属性一")
    private String equipmentAttr_1;

    @ColumnWidth(22)
    @ExcelProperty("圣遗物副属性二")
    private String equipmentAttr_2;

    @ColumnWidth(22)
    @ExcelProperty("圣遗物副属性三")
    private String equipmentAttr_3;

    @ColumnWidth(22)
    @ExcelProperty("圣遗物副属性四")
    private String equipmentAttr_4;

    @ColumnWidth(18)
    @ExcelProperty("有效词条数")
    private Integer validAttr;
}
